Php Count All Values In Array Jquery Css Multiple Properties