++ count executed command for external api
-- unused code