httplib.array.count

array.count(x)

Return number of occurrences of x in the array.