correct most popular counts; removed useless php echos