added a class that demonstrates usage of several aggregate functions in
the context of HQL
updated the explanatory comment