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
I see that we're also using `COUNT(*)` for admins users. PostgreSQL under the hood always converts this to `COUNT(1)`. Just leaving a note here though, nothing to address.