trying to count the total number of possible translations