added checks for null results in the nii and series desc counts