Fix counting of examples on symbol doc pages

To calculate total example count add only counts from example sections
and not subsections.
Merge pull request #9 from jkuczm/fix_example_count

Fix counting of examples on symbol documentation pages