fix: add set accessor for incidence counter. Completes fix for #8
merge with upstream