Volumes and lattice counts in polyhedra