Update to support CQ count API change

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge remote branch 'upstream/master'
Merge pull request #40 from shefty/master

Update to support CQ count