reformat code for RTMediaViewCount.php