$C^n$ functions, Hausdorff measures and analytic sets