In a dairy, there are 60 cows and buffalos. The number of cows is twice that of buffalos. Buffalo X ranked seventeenth in terms of milk delivered. If there are 9 cows ahead of Buffalo X, how many buffalo's are after in rank in terms of milk delivered?