Fixed Firefox count issue

Fixes #4