adding id in counter data