Add the total posts in all forums together... get that number... then subtract your last post number from that figure
Once you have done that, subtract that figure from the total post count and i beleive you should have the 5 millionth post number
Regards,
Lee