changed count to return 0 for slices outside the source string
2 files changed