Added deprecated counter macro