title: Python: Count uniq line(s) between 2 files
body: <pre><code> First File | Second File
  
      bob        | greg
      bob        | larry
      mark       | mark
      larry      | bruce
      tom        | tom
  </code></pre>
  
  <p>With the code bellow I get output:
  <strong>bob</strong>, but I need to get <strong>bob x 2</strong></p>
  
  <pre><code>with open('some_file_1.txt', 'r') as file1:
       with open('some_file_2.txt', 'r') as file2:
           diff = set(file1).difference(file2)
  
   with open('some_output_file.txt', 'w') as file_out:
       for line in same:
          file_out.write(line)
  </code></pre>