arraySize: Determine the size of the array
Description
When loading Codelink arrays in text format (as exported from the Codelink
software) this function retrieves the correct size of the array. This is
useful beacuse those files contain and indetermined number of empty lines at
the end. Thus, reading the entire data matrix don't works.