count string lengh php

PHP
Use the PHP strlen() function
Source

Also in PHP: