Move creating stats to the preprocessing phase
Add support for keyless statistics
Allow omitting [] for keyless aggregations