added total stats in index page