Fix counting of examples on symbol documentation pages

To calculate total example count add only counts from example sections and not subsections.

Fixes #8.