fix for generating count query
fix for generating count query

NotBrianZach/postgrest,motiz88/postgrest,diogob/postgrest,NikolayS/postgrest,steve-chavez/postgrest,steve-chavez/postgrest,begriffs/postgrest,Skyfold/postgrest,league/postgrest,pap/postgrest,calebmer/postgrest,ruslantalpa/postgrest