Simplified Array.index(…) by using Swift.find(…).
Array.count(…) is now implemented using Swift.countElements(Swift.filter(…)).