How are referrals counted?