This allows for a nifty little trick:

     static custom_widget widgets[100];
     static const size_t widgetsCount = sizeof(widgets) / sizeof(*widgets);

Now you can change the size of `custom_widget`, or change the type of `widgets`, or even change the size of the array, and `widgetsCount` will always be correct. And everything is calculated at compile time! :smile: