Determining the current number of client connections