question: How many points have 500cc for the class, a win greater than 0, with a year after 1974?
answer: SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > 1974
context: CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)