how to combine two aggregate functions in Laravel