Automatic cardio cells counter