problem 8 solved with slick .Aggregate Linq expression