seqlength function

Sequence length