$$ A = \left[\begin{array}{cccc}0& 1& 1\\ 1& 2& 3\\ 2& 0& 2\end{array}\right]$$
Clearly first and second columns are linearly independent. The third column is the sum of the first two columns.
The matrix rank is 2. Is it because the sum of 2 linearly independent columns would not count as a linearly independent column?
If so, what about the sum of 3 or more linearly independent columns?