fix(cockpit): fix number of running instances in cockpit dashboard

Related to: #CAM-902