.......PS. [ZBX-8092] made DCget_trigger_count() look more like DCconfig_get_time_based_triggers(), which it is based on
.......PS. [ZBX-8092] optimized both functions a bit by placing the item check before searching in the host hashset