len = paths.length
Merge pull request #21 from viatropos/cache-length

len = paths.length