[DBClientHatohol] Fix wrong count of triggers

The previous implementation of getNumberOfTriggers() counts number of
hosts instead of triggers!