In 3D, Descartes' formula states that the total angular defect of a convex polyhedron must always be equal to $4\pi$. In particular, this implies that if we have a bound on the "bluntness" of a polyhedron's vertices, we can also obtain a bound on its total number of vertices.
It seems intuitive that something similar should be the case for a 4-polytope: if its edges (or perhaps vertices) are too "sharp", it should close up "faster". As an example, the dihedral angles around a tesseract are all equal to $270^\circ$, admittedly not that much, and correspondingly, it doesn't have a lot of constituents. On the other hand, the ginormous omnitruncated 120-cell has edges with total dihedral angles ranging from $322^\circ$ up to $356^\circ$. And of course, the honeycombs, with complete vertices and edges, are able to have an infinite amount of components.
These are all completely empirical observations, but I'd like to make claims on these grounds. So, is there any formula, perhaps like Descartes' one, that can make these observations precise? Is there any relation between the angles in a 4-polytope and the amount of elements it can have?