updated fast_count