is a duplex considered a 2 unit property
A duplex house plan has two living units attached to each other, either next to each other via townhouses or above each other like apartments By contrast, a building comprising two attached units on two distinct properties is typically considered semi-detached or twin homes but is also called a duplex in the Northeastern United States.
Duplex (building)