added static variable that detects the number of bank accounts