Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE table_50329 ( "Year ended" text, "Revenue (\u00a3million)" real, "Profit/(loss) before tax (\u00a3m)" real, "Net profit (\u00a3m)" real, "Earnings per share (p)" real )

### Question ###
When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?

### Accurate SQL ###

SELECT SUM("Earnings per share (p)") FROM table_50329 WHERE "Year ended" = '2008' AND "Revenue (\u00a3million)" < '4,177'