Count published articles via graphql

I read something about Published-Connection at https://strapi.io/documentation/developer-docs/latest/plugins/graphql.html#aggregation-grouping but I think this is not working/available for me because we use postgres as database.

Is there a way to filter the published state in graphql?