is there any way to beat shuffling machines? can a card counter gain an edge and how many different types of these are there?

thanks.