Laravel Hasmany Count

/*If you want to count multiple relationships you can provide an array to 
the "withCount" method.*/

$post = Post::withCount(['comments', 'likes'])->first();
D3signa