SupportDef: Add B_COUNT_OF to get array element count.

* We implement this in a lot of places in a lot of
  ways. Lets add it to the SupportDef
Everything: Update lots of code to use B_COUNT_OF macro

* Likely not everything, but the obvious uses of B_COUNT_OF