Operation Details
Description: Retrieves a count of the scheduled hearings with the given status for a case.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :numberOfRecords 
FROM
  Hearing 
WHERE caseID = :caseID 
  AND statusCode = :statusCode