get the size of a static array