Stats API Modification

Stats API Modification