hi Greg,
you need to have a look on OITM table. i assume you are looking for items count
in your SAP B1 IDE goto View -->> System Information or hit the keyboard shortcut (Ctrl + Shift + I)
then open your item master data and hover your mouse pointer in itemcode
this is applicable in all SBO marketing documents and master data.
you can also use the SDK help in your local PC... try to check it in this directory "C:\Program Files\SAP\SAP Business One SDK\Help\SDK_EN.chm"
regards,
Fidel