Split pad fetching and counting logic
Add diacritics removal
Implement ranking