title: is there a way to get the number of agents with or without tasks in a particular queue?
body: <p>I'm working on queue stats dashboard. there is a taskrouter api endpoint which provides stats about the agents state.
  <a href="https://www.twilio.com/docs/taskrouter/api/taskqueue-statistics#" rel="nofollow noreferrer">https://www.twilio.com/docs/taskrouter/api/taskqueue-statistics#</a></p>
  <pre><code>&quot;activity_statistics&quot;: [
  {
    &quot;friendly_name&quot;: &quot;Idle&quot;,
    &quot;workers&quot;: 0,
    &quot;sid&quot;: &quot;WAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;
  },
  {
    &quot;friendly_name&quot;: &quot;Busy&quot;,
    &quot;workers&quot;: 9,
    &quot;sid&quot;: &quot;WAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;
  },
  {
    &quot;friendly_name&quot;: &quot;Offline&quot;,
    &quot;workers&quot;: 6,
    &quot;sid&quot;: &quot;WAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;
  },
  {
    &quot;friendly_name&quot;: &quot;Reserved&quot;,
    &quot;workers&quot;: 0,
    &quot;sid&quot;: &quot;WAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&quot;
  }
  </code></pre>
  <p>it provides number of workers in each state.
  Now lets say the agent is in status busy, but its possible that agent might not have any tasks assigned.
  is there a way to get the number of agents of a particular queue without any tasks assigned to them regardless of what status they are in?</p>