Help with Simple Perl/Python Script

I have the following problem, which I need done in Perl/ or Python using Unix/linux filters...

  1.             You have a very large file, named 'ColCheckMe', tab-delmited, that you are asked to process.     You are told that each line in 'ColCheckMe' has 7 columns, and that the values in the 5th column are integers.
    

Using Perl/python (and standard LINUX/UNIX filters), indicate how you would verify that these conditions were satisfied in 'ColCheckMe'

  1.             In the same file, you are told that each value in column 1 is unique. How would you verify that?
    
  2.             Write a shell function that counts the number of occurrences of the word �SpecStr� in the file 'ColCheckMe'.  
    

Thanks a lot

Please do not post homework in the main forums. Repost in the appropriate forum.