Maximum Function Count Python Array Of Matrices