hi i have my wallpaper website running php and i am writing this script and i need to count how many of the same character in string php. for example, if i have a string like this:

$site = wallpaperama.com

as you can see, i want to know how many letter a are on my $site string. if i count them i see that it has four.

so how can i do this?