I suspect the 500,445 number doesn't include messages that have been deleted. But the post number does include those.
Sort of, you have to figure out the latest post was and go from there, you can use the number shown as it doesn't include deleted posts. It's how I did this; http://empire.us/threads/20000