Made AutoCount configurable.