title: Count pair words for all combinations
body: <p>I have a database something like that in MongoDB:</p>
  
  <pre><code>{ "_id" : "piramidales", "LiciList" : [ "318081", "318157" ] }
  { "_id" : "pyramidalis", "LiciList" : [ "318081", "318157" ] }
  {
          "_id" : "toneis",
          "LiciList" : [
                  "318077",
                  "318151",
                  "318288",
                  "318360",
                  "318666"
          ]
  </code></pre>
  
  <p>I want to count pair words for all combinations!</p>
  
  <p>How can I get the relationship of LiciList item? Like this:</p>
  
  <pre><code>{item1:'piramidales',item2:'pyramidalis',count:2},
  {item1:'piramidales',item2:'toneis',count:0},
  {item1:'pyramidalis',item2:'toneis',count:0}
  </code></pre>