just use SCAN function to find character... and count appear characters...
position = %Scan( targetFix: source);
By using %SCAN you can get the position of a character in a String.
You might need to write your code in a loop for getting the No. of Occurances.
Pradeep.