python counting elements of a list within a list,all(x.count(1) == 3 for x in L)