What do the numbers under people’s profile refer to?

The number under a person’s profile refers to the number of mutual friends you have with this user. If you have no mutual friends, no number will show under a user’s profile.