Check number of queens