Enumerative Combinatorics of Simplicial and Cell Complexes: Kirchhoff and Trent Type Theorems