Php Foreach Get Array Length