Operation Details
Description: Counts the number of planned groups based on the name and planned goal.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :numberOfRecords 
FROM
  PlannedGroup 
WHERE PlannedGroup.plannedGoalID = :plannedGoalID 
  AND PlannedGroup.name = :name