Within the SDK project, there's a ContentHitsAspectTest.java which demonstrates the aspect.
There isn't any Web Client configuration currently included the sample - if there was it would allow a rule to be defined which applies the Content Hits aspect and a property sheet extension which allows the properties of the aspect to be viewed. We should include this in a future release.