Curr_connection multiple values

Hi All,

I am trying to get the current connections from my couchbase instance.

i used cbstats and got a value.
admin@xxx-cb01 ~]$ /opt/couchbase/bin/cbstats xxx-cb01:11210 all -b MANG | grep curr_connections
curr_connections: 1359

To verify the value i tried checking the same from REST API



Ideally these 2 values should be matching? which one is the current Stats?

I am kind of beginner in CB. Please help me identify the correct solution.

Thanks in Advance