Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282?

### Inputs:
table_name: table, columns: ['Barangay', 'Urban/rural', 'Geographic character', 'Population (2007)', 'Population (2010)']

### Response:
SELECT COUNT Population (2007) FROM table WHERE Population (2010) < 1282