minor bug fix

fixed a bug where the paragraph counting aux function returns 1 even
when there are no paragraph tags found.
version parity