Can the camera be mounted outside the door?
Yes, if it sees the doorway clearly. Usually the camera hangs inside, above or near the door, because the light is more even there. Outside entrances use a weatherproof camera such as the Outdoor PRO kit. What matters is that everyone passing through crosses the counting line inside the image.