getCounts() public method

Returns list of Counts.
See also: https://developers.intercom.io/reference#getting-counts
public getCounts ( array $options = [] ) : mixed
$options array
return mixed
 public function testCountsList()
 {
     $stub = $this->getMockBuilder('Intercom\\IntercomClient')->disableOriginalConstructor()->getMock();
     $stub->method('get')->willReturn('foo');
     $counts = new IntercomCounts($stub);
     $this->assertEquals('foo', $counts->getCounts([]));
 }