CREATE TABLE table_77667 ("Debut year" FLOAT, "Player" TEXT, "Date of birth" TEXT, "Games" FLOAT, "Goals" FLOAT, "Years at club" TEXT)

How many games had 22 goals before 1935?
SELECT SUM("Games") FROM table_77667 WHERE "Goals" = '22' AND "Debut year" < '1935'
SELECT SUM("Games") FROM "table_77667" WHERE "Debut year" < '1935' AND "Goals" = '22'