Change `topic.votes.length` to `topic.votes.count`

`.length` will do a `SELECT "votes".* FROM "votes"` where `.count` will perform a more efficient `SELECT COUNT(*) FROM "votes"`