Hello,

I've found a snippet of PHP that allows me to display the total number of nodes on our website, but I'd also like to be able to display how many terms are in a certain vocabulary. Is this possible? I searched and couldn't find exactly what I was looking for in the forums.

I'm looking for the end result to say, "There are currently X number of nodes by X number of authors and filed under X number of categories."

I have the code for "X number of nodes" but need the code to find X number of terms in the vocabulary "Author" and X number of nodes in the vocabulary "Subject."

I appreciate your time and help.

Comments

spiffyd’s picture

Subscribed...

Vnaraj’s picture

Have a look at this link:
http://drupal.org/node/199374

crbassett’s picture

I believe that is for finding how many nodes are assigned a to particular term. I'm looking for a count of how many terms there are in a vocabulary, not the number of nodes.