add counter for repeated argument names