GitHub API GraphQL find number of repositories with number of collaborators greater than 10

How could I query GitHub API via GraphQL to find number of repositories with number of collaborators greater than 10?

What I have come up so far is miles away from what I want to accomplish:

query myQuery {
  search(query: "is:public", type: REPOSITORY, first: 100) {
    repositoryCount
  }
  repository(name: "", owner: "") {
    collaborators {
      totalCount
    }
  }
} 

With my limited knowledge of GraphQL, I cannot figure out how to specify repositories name and owner to be all (*) instead of empty "". Also it is not clear whether ‘greater than’ clause could be used at all to filter the results and aggregate count of repositories.

Any help is appreciated. Thanks!

Read more here: Source link