Explaining cross-country differences in contact rates