I'll try to answer your question even if I'm out of practice for thirty years with matrix math. So, please check carefully the correctness..
If you want to know how many columns are linearly independent you can calculate the rank of he matrix simply looking for the minors (square submatrices) that have not null determinat and counting its rows (or columns). In you example we have (I'll use dots to spearate the minors):
0 1 1.....0 1 2.....1 1 2
1 2 3.....1 3 4.....2 3 4
2 0 2.....2 2 0.....0 2 0
all of them have det=0 the rank<3
doing the same check for the minor 2x2 we will find many having det<>0, then rank=2
Since the rank-nulling theorem says that Rank(A)+Null(A)=n (number of columns) then in our case Null(A)=4-2=2
Or, to find the linearly independent columns you can apply the definition, then calling x1, x2, x3 and x4 the constants that multiply each column we'll have:
0*x1+x2+x3+2x4=0
x1+2x2+3x3+4x4=0
2x1+0x2+2x3+0x4=0
from the last x1=-x3, then substituting:
x2+x3+2x4=0
2(x2+x3)+4x4=0
but from the first x2+x3=-2x4, then the last is alway zero regardless the value of x4 so it's free
now x1 depends from x3 (we saw x1=-x3) but also x2 depends from x3 (and from x4), then we can conclude there are two free variables (x3 and x4) and two dependent variables (x1 and x2) so, again, the rank is 2.