Operation Details
Description: Counts the number of sub goals that have the specified name.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :numSubGoals 
FROM
  SubGoal 
WHERE SubGoal.name = :name 
  AND SubGoal.recordStatus = :recordStatus