How to count these values

I have calculated Term Co-occurrence matrix in which each row is considered as a document and calculated, I want complete file to treat as document and to know how frequently to terms are occurring is their any way to process that

I think in this way that Term1 Term2 to be compared and if rows whose term1 and term2 is same their document co-occurrence, sentence co-occurrence to be added
But unable to implement

Not sure if this knime “old” example can help you. Please Google by Term Coocurrence Heatmap Example and you will find the workflow