Count the number of 2s between 0 and n