Custom Press Calling Custom posts

Iam wanting to put together some code that counts the total number of custom post i have created... any Ideas on where to look first?