Length Of Python Array Using Reduce Method