util.stats handles masked arrays better
updated getdatasize to work with MASKED ROWS