Added function to read the number of users.

Added readNumUsers().