add ExpireCount and some test case