The statute of limitations applies to the subject matter of setoff as well as to the plaintiff's demand.