root move list counts number of legal moves

no functional change, but two marginally useful functions removed in
favour of potentially more robust solution