Implement paragraph_count and remaining_paragraph_count.

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>