Operation Details
Description: Counts the number of evidence trees belonging to a case.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :count 
FROM
  CaseEvidenceTree 
WHERE caseID = :caseID 
  AND 
  (
    statusCode = :statusCode 
    OR statusCode = :statusCode2 
  )