Use Prelude functions for count