Returns the length of the content that has been accumulated so far. This is a constant-time operation.