count api final