Items in Tetrahedron
This is a writing from several years ago, but I was working on some math problem and wrote this down and kept it: For a D-dimensional tetrahedron with edge length N, the total is (D+N-1)!/D!
It has been a while since I looked at that to know if it is right or can be simplified further.