Function to return the count of all possible sub - strings of string that are also the prefixes of string
def countSubStrings ( string , n ) : NEW_LINE INDENT count = 0 NEW_LINE for i in range ( n ) : NEW_LINE DEDENT