To view only the files that you uploaded:
ipfs pin ls | egrep recursive
To count the number of pinned files you are hosting:
ipfs pin ls | egrep recursive | wc -l
The solution by @stebalien is correct as well, in addition to the recursive files it will list the hash of indirect files as well.
Incase you were going to look that up:
direct = pin that specific object.
recursive = pin that specific object, and indirectly pin all its decendants
indirect = pinned indirectly by an ancestor (like a refcount)