A cube of edge length 3 units has each face painted orange. The cube is then cut into 27 unit cubes. How many of these unit cubes have exactly two faces painted orange