Added count of matrices.