implementation of the "counts-by-room" example in the Publish section of the Meteor docs