Mr. yan has almost twice as many chickens as cows. the total number of legs and heads is 184. how many cows are there?