added getNumberOfContacts