How to Count Occurrences of a Substring in a String in PowerShell?

How to Count Occurrences of a Substring in a String in PowerShell?

More to explore

Based on this image's title: “How to Count Occurrences of a Substring in a String in PowerShell?