utilizza strlen() dopo html_entity_decode()

Codice PHP:
$string "etyjety><etytj";
$conteggio strlen(html_entity_decode($string));
echo 
$conteggio