Added method for counting bytes s/r