title: count number of rows in cloudant in response
body: <p>I have below response from my map reduce .
  Now i want to count the number of rows in the response can any one help me how i can do it in cloudant? I need something in response like to get the total count of distinct correlationid in a period.</p>
  
  <pre><code>{
  rows: [
  {
  key: [
  "201705",
  "aws-60826346-"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-60826348802-"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-las97628elb"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-ve-test"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-6032dcbce"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-60826348831d"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-608263488833926e"
  ],
  value: null
  },
  {
  key: [
  "201705",
  "aws-608263488a74f"
  ],
  value: null
  }
  ]
  }
  </code></pre>