def count_set_bits_with_bitwise_and_simple(number):
    """Counts set bits in a decimal number

    Parameters
    ----------
    number : int
        decimal number e.g

    Returns
    -------
    int
        a count of set bits in a number

    >>> count_set_bits_with_bitwise_and_simple(125)
    6
    """
    set_bits_count = 0
    while number:
        set_bits_count += number & 1
        number = number >> 1
    return set_bits_count