added count check for TPG table in monitor
Merge pull request #182 from nZEDb/dev

added count check for TPG table in monitor