rcompObjItemLength: return length of an item, returning 0 if null, and handling the fact that we might have a data frames or a vector
rcompObjItemLength(x)
x
an object
length, numeric