private function filterCustomMetaData($customMetaData)
    {
        foreach ($customMetaData as $key => $data) {
            if (!in_array($key, [$this->metadataFieldCount, $this->metadataFieldAverage])) {
                unset($customMetaData[$key]);
            }
        }

        return $customMetaData;
    }