title: Show count of Custom Taxonomy only for a specific Custom Post Type
body: <p>I want to display the count of a Custom Taxonomy based on a specific Custom Post Type. At the moment, I'm using <code>get_terms</code> to list all terms of the Taxonomy.
  The Taxonomy is used by more than one Post Type. So the counter shows all the usage of the Taxonomy for every Post Type.</p>
  
  <p>Is there a way to limit the count on a single Post Type?</p>
  
  <p>Here is my actual code:</p>
  
  <pre><code>get_terms(array(
      'taxonomy'      =&gt; 'tax',
      'hide_empty'    =&gt; true,
      'orderby'       =&gt; 'count',
      'order'         =&gt; 'DESC',
      'number'        =&gt; '10',
  ));
  </code></pre>
  
  <p>Inside the <code>foreach</code>, I'm using <code>term-&gt;count</code> to show the usage counter.</p>