This Excel tutorial explains how to count substring in string (text).
Excel count substring in string (text)
Excel does not have a buit-in Function to count substring in string (text), instead you need to work around to get the job done. Alternatively, I have made a Macro solution for your reference.
Excel count substring in string using Len and Substitute Function
Excel Len Function is to m...