I too have heard it as “Ten Little Indians”. I think they considered that racist too and now it is what it is.
“Ten Little Indians” might be considered racist. “Ten Little Pakistanis” would be OK.