Added a method to perform aggregation;
Replaced use of $Model->table with DboSource->fullTableName() to get full table name including variable $tablePrefix (!important);