changed TBG count method
Merge pull request #183 from nZEDb/dev

changed TBG count method