adding back api count