Add counts api