def update_count(self):
node_rating_count = self.node.rating_count<EOL>node_rating_count.likes = self.node.vote_set.filter(vote=<NUM_LIT:1>).count()<EOL>node_rating_count.dislikes = self.node.vote_set.filter(vote=-<NUM_LIT:1>).count()<EOL>node_rating_count.save()<EOL>
updates likes and dislikes count