implemented counting users for dbinitial stats