GREEN: add getArraysize() method