added getNumberOfAccounts()