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

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'