Implement skeletal _MachineStateCount, will add states later.