Add account statistics to API