I use a few Value Object types in the ORM mapping (DateTime, Money, etc) and sometimes I need to get an aggregated value (SUM, MIN, AVG, etc) for them.
For example: