Accurate counting