Count content types which have taxonomy term
You can use the following snippet, to get count of nodes by passing the term id

&lt;?php
  $tids = array(1); //An array of term IDs to match.
  $nodes = taxonomy_select_nodes($tids);
  echo count($nodes) ;
?&gt;


Edit: 

You can use views to achieve this, check this similar question . It explains an example