At the moment I am using the below filter to increment elements in arr, given a list of strings as an argument, is there an efficient way to do this in python.I got millions of such lists to validate upon.At the moment I am using the below filter to in