Added sampled counter support