simply add a line to the code to decrement the postcount on each deletion

No, no, that's no good. It doesn't give negative reinforcement. The correct way to do it is to decrement the post count by 2 on each deletion.

pca
_________________________
Experience is what you get just after it would have helped...