MDL-47892 tool_monitor: add count_rule_subscriptions method and unit tests