Obviously counterfeiting is a problem and in an ideal world there would be no counterfeiting at all, but I remain unconvinced that it's something I have to worry about materially affecting my experience as a customer buying stuff from Amazon.
Yet. When one burns down your house, you'll care.
Most people try to head off possibilities like that, rather can just shrug their shoulders and say, "But I saved three dollars!"
But as for stuff like chargers, I've had more experience that the easily-frayed genuine Apple Lightning cables, or the classic exploding Samsung phones, are more of an electrical fire risk than anything I've bought from Amazon, counterfeit or not.
Almost every memory card that isn't Samsung EVO PLUS I've received has been counterfeit.
I wouldn't be so sure, since it's not always easy to spot a counterfeit. Take a charger for instance. A counterfeiter can get the case and packaging perfect, but have substandard & legitimately dangerous electronics inside. I don't have the links handy, but I've seen numerous tear-down comparisons that show examples of this.