getInitialCounter marked as deprecated