Add method for getting number of users in db.