Let $k$ be an algebraically closed field, $\ell$ is a prime different with characateristic of $k$. We know the number of connected components of a scheme finite type over $k$ by looking at $H^0_{et}$, but how about irreducible components? By checking the example of $\{xy=0\}$ in $\mathbb P^2$ which has $1$-dim $H^0_{et}$ and $2$-dim $H^2_{et}$, it seems that the number has something to do with top dimensional etale cohomology. So the question is: let $X$ be a connected equidimensional finite type scheme over $k$ (of dimension $n$), when do we know $\dim_k (H^{2n}_{c}(X))$ is equal to the number of irreducible components of $X$ ? The complex case is partially discussed in https://math.stackexchange.com/questions/2393326/top-cohomology-and-irreducible-components, but the proof does not work in positive characterisitc case.