How to display a Quick Tab with count?
Check your view name that you are passing to views_get_view() and also from where are you getting the $account variable from (credits: wolverine).

And get rid off $view-&gt;set_arguments(array($account-&gt;uid));, you don't need it (credits: No Sssweat).