You can use the same template-inference method as has always been used for C++98 array bound detection.
template
constant_integer array_size( const std::array& );
- Demo: http://ideone.com/R4k1vG
Make a nice macro wrapper and enjoy!
Many variations are also possible, such as: