Add count and closeFromChild in panelService