Adapt to renamed api endpoint
api-stat-counter was renamed to api-1-stat-counter, that resulted an error on api_stat_counter() call