Don't enumerate pieces simply to count them

Determining if the position is a draw involves counting the total number of pieces. It's better to keep this in a simple counter than enumerate the location of every piece.