# Is there a homology theory that counts connected components of a space?

It is well-known that the generators of the zeroth singular homology group $H_0(X)$ of a space $X$ correspond to the path components of $X$.

I have recently learned that for Čech homology the corresponding statement would be that $\check{H}_0(X)$ is generated by the quasicomponents of $X$. This leads me to my question:

Are there any homology theories (in a broad sense; i.e. not necessarily satisfying all of Eilenberg-Steenrod axioms) being used such that the zeroth homology of a space is generated by its connected components?

Thanks.

-
(my answer is incorrect, I was forgetting my basic point-set nonsense: components don't have to be clopen... Sorry!) –  Dylan Wilson Mar 2 '13 at 6:46
@DylanWilson: no problem. –  Dejan Govc Mar 2 '13 at 15:55
Does 0'th sheaf cohomology (with constant coefficients) count components or quasicomponents? –  Grigory M Jul 3 '13 at 18:47
$H_{0}(PX)$, where $PX =$ the path space of X with compact open topology. I would have rather liked to put it as a comment but I do not have enough points to do so. –  DBS Jul 7 '13 at 22:32