Count Number Of Items In An Array Python