Php Count How Many Items In Array Javascript W3schools