I\'m linking two objects in one query and use aggregate function for it. Some data is localized and I\'m using a solution from here to get data for specified locale.