Count and Write to 9