Rest API get count using CURL - Supabase