A bit tricky implementation, but it should work (supposing you set the big number which means nobody will post such amount of messages never - I think it would be enough to set it to 1 million or so...)