Changed target-counter function to consider page sequences.
Merge pull request #38 from jensrutschmann/page-sequence-in-target-counter

Support for page sequences in target-counter function