Count published articles via graphql

Seems that the following query works:

query countFilterArticles {
  articlesConnection(where: { published_at_null: false }) {
    aggregate {
      count
    }
  }
}