extract a given number of randomly selected elements from a list