fix per-page word count, update sample