Operation Details
Description: Operation to count the number of occurrences of the specified (active) Bank Account.
Sterotype: ns
SQL
SELECT
  COUNT(*)
INTO
  :value 
FROM
  PaymentInstrument 
WHERE PaymentInstrument.bankAccountID = :bankAccountID