Suppose that $Q$ is a $6\times 8$ matrix such that every solution of the equation $Qx=0$ is of the form $x=s(1,0,-1,2,0,3,1,-2)^T+t(0,1,2,-1,1,0,4,3)^T+u(2,-1,0,1,3,-2,0,5)^T$, where $s,t,u \in \mathbb{R}$, and the three vectors are linearly independent. The rank of $Q$ is ______.