array size utility template