The rule on counterclaim and its exceptions