⊦ count(n, bag0 ++ n0) = (n = n0 ⊃ 1;0) + count(n, bag0)
⊦ 1 + (m = n ⊃ 1;0) + count(m, bag) = count(m, bag ++ m ++ n)
Used terms: n, bag, m