A duplex you can plug in two things.
A duplex outlet is considered one device. It has that name simply because it has two (2) ports to plug something into it. When doing a count for an inspection it counts as one device.
Other people asked questions on similar topics, check out the answers they received:
Other people asked questions on various topics, and are still waiting for answer. Would be great if you can take a sec and answer them