fix count rooms on main