public function getUserCountByTags($appId, $tagList) { $params = array(); $params["action"] = "getUserCountByTags"; $params["appkey"] = $this->appkey; $params["appId"] = $appId; $params["tagList"] = $tagList; $limit = GTConfig::getTagListLimit(); if (count($tagList) > $limit) { throw new Exception("tagList size:" . count($tagList) . " beyond the limit:" . $limit); } return $this->httpPostJSON($this->host, $params); }