Expose the occurences check parameter
Merge pull request #76 from bashtoni/master

Expose the occurrences check parameter
Merge branch 'master' into deprication_warning