is there any way to count rows by group? - Supabase