Added further basic Queries:
Count, Average, Median, Sum