code: private function convertGetReportScheduleCount($request)
      {
  
          $parameters = array();
          $parameters['Action'] = 'GetReportScheduleCount';
          if ($request->isSetMarketplace()) {
              $parameters['Marketplace'] = $request->getMarketplace();
          }
          if ($request->isSetMerchant()) {
              $parameters['Merchant'] = $request->getMerchant();
          }
          if ($request->isSetReportTypeList()) {
              $reportTypeList = $request->getReportTypeList();
              foreach ($reportTypeList->getType() as $typeIndex => $type) {
                  $parameters['ReportTypeList' . '.' . 'Type' . '.' . ($typeIndex + 1)] = $type;
              }
          }
          if ($request->isSetMWSAuthToken()) {
              $parameters['MWSAuthToken'] = $request->getMWSAuthToken();
          }
  
          return array(CONVERTED_PARAMETERS_KEY => $parameters, CONVERTED_HEADERS_KEY => $this->defaultHeaders);
      }
docs: Convert GetReportScheduleCountRequest to name value pairs
  @param MarketplaceWebService_Model_GetReportScheduleCountRequest $request
  @return array