Mandatory disclaimer: this is my interpretation, not an official policy.
There are several types of questions you could ask about Bugzilla.
Let's start with the easy ones - questions about programming against Bugzilla (such as "how do I do XYZ with Bugzilla's XMLRPC", or "How can use Bugzilla's Python binding to get information ABC") are just programming questions. They're on-topic just like LinkedIn API or Spotify API are.
The second type of questions I can imagine about Bugzilla are technical questions that aren't about programming, but about administering Bugzilla (such as "I tried to install Bugzilla on CentOS 7 and got this error" or "How can I configure MS Exchange as a mail server for Bugzilla"). While questions about tools for programming are generally on-topic, I feel that Bugzilla isn't really such a tool. While there's a pretty clear consensus about IDEs, Bugzilla isn't really a tool for producing software, it's more of a tool for tracking bugs and managing their statuses. I think such questions wouldn't be appropriate for Stack Overflow, and would be better suited for Server Fault or possibly even DevOps Beta Stack Exchange.
The third type of questions are about using Bugzilla, be it in the technical level (such as "How can I move a bug to a different component without resetting the assignee?") or the "philosophical" level (such as "Is it OK to close a bug as a duplicate of a different bug that has a completely different scenario but the same root cause?"). These questions too are probably a poor fit for Stack Overflow, and would probably do better on Software Engineering (formerly known as Programmers.SE).
Your example question ("Is there a way to query bugs ordered by number of CCs?") seems to fall under the third category, so to me it sounds like Software Engineering is the right place for it, but to be honest, I'm not a user of that site, and you may want to consult their meta before posting there.