volume calculation using 2d ct images

hi folks , we trained a 2d segmentation for traumatic brain hemorrhages using mask-rcnn (detectron2) . it works in 4 class (dural,parenchymal,ventricular,SAH) , now im wondering how can we assess the volume of hemorrhages in dural category . can we use the automate expanding segmentor options in python ? im wondering if the model miss a slice for example in 4 slices of hemorrhages how can we count it in volume calculating . thanks