TOKYO - Japan had fewer foreign residents as of the end of 2021, down 4.4 percent from a year before, apparently due to its tighter border controls amid the coronavirus pandemic, official data showed Tuesday.