user: Question: How many different types are allocated to the institution in Bridgewater, Massachusetts? 
Columns: ['Institution', 'Location', 'Founded', 'Type', 'Enrollment', 'Nickname', 'Joined', 'Left', 'Football Conference', 'Primary Conference']
Types: ['text', 'text', 'real', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Boston State College', 'Boston, Massachusetts', 1872.0, 'Public', 'N/A', 'Beacons', '1972', '1982', 'Merged into the University of Massachusetts Boston', 'Merged into the University of Massachusetts Boston']
SQL:

assistant: SELECT COUNT("Type") FROM "Table" WHERE "Location" = 'Bridgewater, Massachusetts';