Refactored QueryContext to be a Scala instead of a Java
Refactored the update stats counting to a single class
Merge pull request #458 from systay/update-stats

Refactored the update stats counting to a single class