Hi @Anonymous ,
Do you want to calculate the total number of a given character/string within another string?
Based on the needs that you mentioned, I think the MatchAll function could achieve your needs. I have made a test on my side, please take a try with the following workaround:
Add a Label in your app, set the Text property to following:
CountRows(MatchAll("snakes", "s", MatchOptions.Contains))
CountRows(MatchAll("www.hotmail.com", "\.", MatchOptions.Contains))
Please consider take a try with above solution, check if the issue is solved.
More details about the MatchAll function, please check the following article:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-ismatch
Best regards,