added case count to Referral search results model