Length Of Python Array Using Reduce In Python