Str.Split({"Payment of Import Bill"},StringSplitoptions.None).Count
This will always give the count as +1 …so always from result you have to remove 1 to get the count…Basically it counts the number of splits happened which will be plus one of the split keyword
cheers