No Data Race Counter Volatile Class Template