countTransactions method

int countTransactions()

Implementation

int countTransactions() {
  return transactions.length;
}