Fixes DAO::count being one off.