This calculation should be inside the `success` function. Imagine if I post two comments really fast, without receiving a response for the first one, both would update the comment count to the same number. Also, selector should be a global.