Counting pin numbers is always counter-clockwise starting from pin 1 whether the chip is in a through hole DIP package or a tiny surface mount QFN.