trashList returns an int when $asCount is set to true