The Quantification of Social Contacts and Resources