I\'ve created a method that counts the number of all matching digits from two given integers. Everything in the method seems to work as it should except the local counter.