Uploadcare\Api::getFilesCount PHP Method

getFilesCount() public method

Return count of files respecting filters
public getFilesCount ( array $options = [] ) : mixed
$options array
return mixed
    public function getFilesCount($options = array())
    {
        $options['limit'] = 1;
        $data = $this->__preparedRequest('file_list', 'GET', $options);
        return $data->total;
    }