len: Get document count
This is a method of the Knowledge class in the knowledge module.
def len(&self) -> usize