title: Boost property tree count does not count the childs?
body: <p>I have a json that looks like this:</p>
  
  <pre><code>{"field":{"val1":25, "val2":48, "name1":"qqd"}}
  </code></pre>
  
  <p>When I do a verification of the received json has the specific fields like this:</p>
  
  <pre><code>std::size_t fcnt = pt.count("field");
  std::size_t val1cnt = pt.count("field.val1");
  std::size_t val2cnt = pt.count("field.val2");
  std::size_t nm1cnt = pt.count("field.name1");
  std::cout &lt;&lt; fcnt &lt;&lt; val1cnt &lt;&lt; val2cnt &lt;&lt; nm1cnt &lt;&lt; std::endl; // this is just for testing
  if (fcnt != 1 || val1cnt != 1 || val2cnt != 1 || nm1cnt !=1)
    throw BadJSONFormatException();
  </code></pre>
  
  <p>I get always the exception and the values printed are: <code>1000</code>. Why? <code>count</code> does not work like this?</p>