added attribute name in counter