rschroeder just created an awesome write-up a couple weeks ago outlining a report he and his team uses to identify switch port usage:
Have a look, maybe that will help you.
Try that if you have NCM
If not any tool that can ssh to the switch
and push "show interface link"
Will tell you how many port are in use ...
Thanks guys, I'll look into the SWQL query solution