fix counts, now it works fast