integer XML_Statistics::countTag ( string $tagname = null )
文書の中であるタグがどれだけ使用されているかをカウントします。タグの名前が指定されなければ、すべてのタグの数がカウントされます。
string $tagname - カウントするタグの名前
string $tagname
integer タグの出現数
This function can not be called statically.
XML_Statistics::countTagsInDepth(), XML_Statistics::countAttribute()