>>34
型は?
配列ならcount($str)
改行区切りならcount(explode(array("\r\n","\r","\n"), $str))