count_matrix1() ->