PHP Laravel Statistics Helper