support getting different counts in the webservice
fix parse_log task and test_parse_log