Refactor flush count
Bring in cl-utilities