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

### Instruction:
When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?

### Inputs:
table_name: table, columns: ['Type of Fare', 'Cash Fare', 'Day Pass', '31-Day Pass', 'Monthly Pass']

### Response:
SELECT COUNT Type of Fare FROM table WHERE 31-Day Pass = N/A AND Cash Fare = N/A