def findSmallerInRight(string, start, end):
    """
    Counts the number of caracters that are smaller than
    string[start] and are at the right of it.

    :param string:      Input string.
    :param start:       Integer corresponding to the index of the starting character.
    :param end:         Integer corresponding to the index of the string.
    :return:            Integer corresponding to the number of chars, on the right, that are smaller.
    """
    countRight = 0
    i = start + 1
    while i <= end:
        if string[i] < string[start]:
            countRight = countRight + 1
        i = i + 1
    return countRight