Gabor's Signal Expansion and Degrees of Freedom of a Signal