This post has moved to a new server.
View it at:
(http://benreichelt.net/blog/2005/5/4/Dynamically-calculate-record-count/)