adding a client count method