title: Python finding repeating sequence in list of integers?
body: <p>I have a list of lists and each list has a repeating sequence.  I'm trying to count the length of repeated sequence of integers in the list:</p>
  
  <pre><code>list_a = [111,0,3,1,111,0,3,1,111,0,3,1] 
  
  list_b = [67,4,67,4,67,4,67,4,2,9,0]
  
  list_c = [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,23,18,10]
  </code></pre>
  
  <p>Which would return:</p>
  
  <pre><code>list_a count = 4 (for [111,0,3,1])
  
  list_b count = 2 (for [67,4])
  
  list_c count = 10 (for [1,2,3,4,5,6,7,8,9,0])
  </code></pre>
  
  <p>Any advice or tips would be welcome.  I'm trying to work it out with re.compile right now but, its not quite right.</p>