added class HopCountAnalysis