Counts the number of sequences in an object.

# S3 method for corpus
num_sequences(x)

num_sequences(x)

Arguments

x

Object to analyse.

Value

The number of sequences in x, as an integer scalar.