How to get the count of sunday between two dates?

Hi Am using unix Ksh

I have the two dates

DATE1=01/01/2013
DATE2=11/02/2013
 

In this two dates i need the output as count of sunday

sunday=6
 

Can anyone help me pls!!!

You have posted this same question several times!!

Thread 1
Thread 2
Thread 3