This is such a basic requirement for many contracts, and has existed since the first word processors were invented. Please include a page count variable.