How To Check Array Size In Python A Namespace