Operation Details
Description:  
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :count 
FROM
  OrganisationUnit,
  OrgUnitParentLink 
WHERE OrgUnitParentLink.organisationStructureID = :organisationStructureID 
  AND OrgUnitParentLink.recordStatus = :recordStatus 
  AND OrganisationUnit.organisationUnitID = OrgUnitParentLink.organisationUnitID 
  AND OrganisationUnit.recordStatus = :recordStatus