Add readCount and readArray methods on RESPReader