adding api_count to oauth