message: Update count-collisions-on-a-road.py
diff: @@ -13,7 +13,7 @@ class Solution(object):
  for x in directions:
  if x == 'R':
  cnt += 1
  - elif x == 'S' or cnt or not smooth:
  + elif x == 'S' or (cnt or not smooth):
  result += cnt+int(x == 'L')
  cnt = smooth = 0
  return result
  