Added API counter