fix fast_count