code: def calc_voxel_count(input_data, mask_value=0):
      input_data = convert_input_2_numpy(input_data)
  
      return input_data[input_data != mask_value].size
  
file_path: DeepNeuro/deepneuro/outputs/statistics.py
imports: import os
  import numpy
  import matplotlib.pyplot
  from skimage.morphology import label
  from skimage.measure import regionprops
  from deepneuro.utilities.conversion import convert_input_2_numpy
label_desc: Use image node_id 1 for calling a global function with example usage: calc_voxel_count(input_data, mask_value) and returns: input_data