How many years was the total 402?
CREATE TABLE "most_official_appearances" (
  "ranking" real,
  "nationality" text,
  "name" text,
  "position" text,
  "years" text,
  "league" real,
  "cup" real,
  "europe" real,
  "others" real,
  "total" real
);
SELECT COUNT("years") FROM "most_official_appearances" WHERE "total"=402;