Clean design for countingmodule