fix panel count badge in site panel template