added support for counting process threads
Merge pull request #693 from ggayan/patch-1

Added support for counting process threads