Making stats API calls for graphs, #128