Database statistics implemented