Euler calculus on spaces homeomorphic to definable sets and some applications.