ENH:finish the work of count output page