Fix figures counter: Do not increment for images that are not figures
Merge pull request #94 from magabriel/fix-opt-figures

Fixed figures counter (don't increment it for "decorative images" that are not figures)