ensure player count is integer