title: How to know the number of types in the elastic search index
body: <p>Here is my question description</p>
  
  <ul>
  <li>I created elastic search index named <strong>testindex</strong> </li>
  <li>curl -XPUT 'localhost:8080/testindex/type1/id1?pretty=true'</li>
  <li>As of now i know my testindex has one type i.e type1</li>
  <li>I have one more index called <strong>anotherindex</strong>,i want to know how many types in <strong>anotherindex</strong> by seeing index name itself.</li>
  <li>How to know.Is there any curl command ?</li>
  </ul>