Definitely not a database issue.
For the past day or two I've been junking some threads which contain explicit content (for advertisement issues), but as far as I was aware junked posts were included in post count so you shouldn't have lost any. However, we have recently changed our junk system...