Number of Good Ways to Split a String | PatternLens