def test_api_count(self):
        # query string
        query = '{"transport/available_transportation_types_to_referral_facility":"none"}'
        data = {'query': query, 'count': 1}
        response = self.client.get(self.api_url, data)
        self.assertEqual(response.status_code, 200)
        find_d = json.loads(response.content)[0]
        self.assertTrue(find_d.has_key('count'))
        self.assertEqual(find_d.get('count'), 1)