The Poincaré Polynomial of a Linear Code