perl -E '$y=2013;$y=~/$_/&&$c++for 0..9;say$c' [download]
In reply to Re^3: Golf for unique digits by space_monk in thread Golf for unique digits by Cody Fendant