Added DataArray support when calculating datum size