Get count of commands sent to a service/command.
int callCount(String service, String command) { return sentCommands .where((c) => c.service == service && c.command == command) .length; }