Count Numbers In Array Python Size Matrix