The numbers of triple tangencies of smooth space curves