complete the getstatistics UT