how to check a length of a given string.

I put the following sentence into buffer1
"Hi there."

I wanna know the length of that string. how would I do that?

Thanks a lot.

EDIT: I use PCSpim (if it even matter)