bugfix and moving empirical count to be constant (as a member field of feature)