TreeList.read() returns number of trees read