How do you get the number of items that are NOT 204 in this list?
data = [204, 204, 204, 500, 204, 204, 500, 500, 204, 404]
number_of_not_204 = any(x != 204 for x in data)
# returns True
print number_of_not_204
# looking to get the number 4 (500, 500, 500, and 404 are not 204)