Operation Details
Description: Method to count all alerts for the user. see {@link searchByUserName} and {@link searchByUserNameMostRecentFirst} for the equivalent search methods.
Sterotype: ns
SQL
SELECT
  COUNT (*)
INTO
  :numberOfRecords  
FROM
  Alert 
WHERE Alert.userName = :userName