add method .size() in code example ReadAString.java