Very easy solution with built in functions.
You can also use if else instead of abs().
Code
- You can also use if else instead of abs().
# Code
```python3 []
class Solution:
    def furthestDistanceFromOrigin(self, moves: str) -> int:
        s = moves.replace("_", "L")
        r = moves.replace("_", "R")
        a = abs(s.count("L")-s.count("R"))
        b  = abs(r.count("L")-r.count("R"))
        return max(a,b)   
```
['String', 'Counting', 'Python3']