Thank you, it is working, seems I missed that somehow while searching in the documentation.
P.S. It is not that simple, I just prefer to keep the example as simple as possible, it also includes doing min,avg,max calculations over thousands of entries etc.