refactor fast_count
add test case for fast_count
fix favcount
add wiki diff