added metric  counter