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

### Instruction:
Name the total number of elementary schools for 31851

### Inputs:
table_name: table, columns: ['Year', 'District-wide', 'High schools', 'Middle schools', 'Elementary schools', 'Other programs & adjustments']

### Response:
SELECT COUNT Elementary schools FROM table WHERE District-wide = 31851