title: Postman Tests Console Log
body: <p>I'm trying to write up a console.log under Tests in Postman to do two things</p>
  
  <p>1- Count how many types/Unique "ShipmentStatus" were received in the response body (In-Process,Shipped, &amp; Rejected)</p>
  
  <p>2 - How how many of each ShipmentStatus we received for example (4 Orders In-Process 5 Orders in Complete)</p>
  
  <p>How can I accomplish 1 and 2 to show up in my console.log? </p>
  
  <pre><code>"Orders": [
      {
          "id": 544789,
          "Company": {
              "ClientName": "Therese",
          },
          "Shipping": {
              "Address": "Street,",
          },
  
          "userId": "1413260",
          "ShipmentStatus": "In-Process"
      },
      {
          "id": 544787,
          "Company": {
              "ClientName": "Therese",
          },
          "Shipping": {
              "Address": "Street,",
          },
  
          "userId": "1413260",
          "ShipmentStatus": "Shipped"
      },
              {
          "id": 544786,
          "Company": {
              "ClientName": "Therese",
          },
          "Shipping": {
              "Address": "Street,",
          },
  
          "userId": "1413260",
          "ShipmentStatus": "Rejected"
      },
  </code></pre>
  
  <p>I'm able to obtain the total records received by doing the following</p>
  
  <pre><code> console.log("Total Orders : " + response.Orders.length);
  </code></pre>