def get(self):
return self._invoke_internal(pn_counter_get_codec)<EOL>
Returns the current value of the counter.

:raises NoDataMemberInClusterError: if the cluster does not contain any data members.
:raises UnsupportedOperationError: if the cluster version is less than 3.10.
:raises ConsistencyLostError: if the session guarantees have been lost.

:return: (int), the current value of the counter.