returning and integer which indicates the number of read characters