Rastertek Tutorial 5. In progress....

// Get a count of the elements in the layout.
http://www.rastertek.com/dx11tut05.html