Count how many times a node is referenced
Silly mistake. I had the relationship the wrong way round. Now it's working perfectly. These are the steps:
1.) Create a relationship: Content using field_classroom (not content referenced from field_classroom)
2.) Enable aggregation
3.) Add a field: field_classroom
4.) Use the relationship
5.) Set aggregation on the field to COUNT
And it works!