Added new functionality in CLI and API to update module counts and alert counts See merge request artica/pandorafms!2133 Former-commit-id: e5ee2c87fc7281ece82ace2d8b5654a1c278f60a