src/MalScraper/Model/Lists/AllGenreModel.php
private function getGenreCount($each_genre)
    {
        $count = $each_genre->plaintext;
        preg_match('/\([0-9,]+\)/', $count, $cnt);
        $count = substr($cnt[0], 1, strlen($cnt[0]) - 2);

        return str_replace(',', '', $count);
    }
private function getGenreCount($each_genre)
    {
        $count = $each_genre->plaintext;
        preg_match('/\([0-9,]+\)/', $count, $cnt);
        $count = substr($cnt[0], 1, strlen($cnt[0]) - 2);

        return str_replace(',', '', $count);
    }
private function getGenreCount ( $ each_genre ) { $ count = $ each_genre -> plaintext ; preg_match ( '/\([0-9,]+\)/' , $ count , $ cnt ) ; $ count = substr ( $ cnt [ 0 ] , 1 , strlen ( $ cnt [ 0 ] ) - 2 ) ; return str_replace ( ',' , '' , $ count ) ; }
Get genre count.

@param \simplehtmldom_1_5\simple_html_dom $each_genre

@return string
Get genre count .