In case any animal is found upon the premises of another, in violation of the provisions of this act, such person or persons may take the same and confine it upon the premises, and he shall be allowed to plead, by way of counter claim to any action brought for the recovery of the said…