I applaud your creativity but what you've come up with has little to do with the code.![]()
You size the box by the number and size of the conduits entering the box. 314.28
Here is a good article:
http://ecmweb.com/nec/code-basics/sizing_junction_boxes/
and what if there cables?
and what if there cables?