You can do up to 6 in Canada. Nobody ever told me, but when I was signing up at RBC I accidentally typed 5 and it worked. Now I know why they don't deterministically say 'OK, he's done' after you hit four digits.
For that reason I recommend having a 4 digit pin.
Singapore it's mandatory for a 6 digit pin so have no idea if a 4 digit pin will work, anybody been there?