Uhlmann number in translational invariant systems