Simplifies 'rempick' function
Implements occur-count function for lists