Added node count for license endpoint support

Add support for counting nodes to support new license endpoint.

Needed for https://github.com/opscode/oc_chef_wm/pull/84
@jmink All of our Erlang is indented 4 spaces.