def howManyWithMedianHouseValue(df)->int:
    """
    Returns the number of houses with median house value greater than $80,000 
    and longitude higher or equal than -120 and less or equal to -118.
    """
    valueHigherThan80k = df[df['median_house_value'] > 80000]
    latitudebet120And118 = valueHigherThan80k[((valueHigherThan80k['longitude']>= -120) & (valueHigherThan80k['longitude']<= -118))]
    print(f"- Cantidad de casas con media superior a 80K: {latitudebet120And118.shape[0]}")
    return latitudebet120And118