Chandra is a confused typist. While typing the numbers from 600 to 799 (both included), he typed 8 wherever he was supposed to type 6. Then the total number of times he had typed 8 is: