Let\'s say you have a list which only has two types of values and goes something like [\'t\',\'r\',\'r\',\'r\',\'t\',\'t\',\'r\',\'r\',\'t\'] and you want to find the length