Arduino Array Length Function Java