show length for buffer