Added a method finding the number of threes