Remove all elements whose data equals @data from @queue.
the data to remove
Return: the number of elements removed from @queue
2.4
See Implementation
Remove all elements whose data equals @data from @queue.