Count the number of peers