work on api counters crud