Can't access array length via reflection