code: public GetSessionStatisticsResponse getSessionStatistics(String sessionId, String startDate,
              String endDate, Boolean aggregate) {
  
          GetSessionStatisticsRequest request = new GetSessionStatisticsRequest();
          request.withSessionId(sessionId).withStartDate(startDate).withEndDate(endDate).withAggregate(aggregate);
          return getSessionStatistics(request);
      }
docs: Returns the session statistics.
  
  @param sessionId the session id
  @param startDate the start date
  @param endDate the end date
  @param aggregate true if the result should be aggregated
  @return the response