Modified API count number