Fixed broken MenuCount hook