really? we have an ArrayWritable of one element that is an ArrayWritable itself?
should it be just ((ArrayWritable) data).get().length ?