public function parseMatchesBeatmapPlaycount($matches) { $count = intval(str_replace(',', '', $matches['count'])); return ['beatmap' => $this->arrayBeatmap($matches), 'count' => $count]; }