adds workaround until aggregations not available in FriendsOfSymfony/FOSElasticaBundle