Definition and statistical properties of a universal topological charge