Adding __len__ to SourceMapIndex