Measuring a cow's output of dung