We should be sure to always return a number for this method, so if those conditions are not true, return 0.

Also, I would update hasAccount method to just to be return this.getAccountCount() > 0