Python Determine Length Of Int Array