title: error cannot read property count of undeifned
body: <p>i have an oData controller sending me count of total entities which i am trying to read in javascript i.e. an angular app. The odata.count property is visible with a proper value but i keep on getting error. please refer to the attached image. </p>
  
  <p><img src="https://i.stack.imgur.com/GPFEn.jpg" alt="snapshot of an error"></p>
  
  <p>when i try to read  </p>
  
  <pre><code>countResponse.odata.count
  </code></pre>
  
  <p>i get this error that cannot read property count of undefined. </p>
  
  <p>please guide</p>