count is now more accurate