Right now I have been using `Regex.scan` method:

```
Regex.scan(~r/do/i, “Do. Or do not. There is no try.") |> length

```

In Ruby, we can use `.scan` method: `"Hello world".count "o" #=> 2`

Is there a shorter method to count substring in a string with Elixir? No need for fancy regex, I just need to count how many substring in a string.