Read the file in:
string[] lines = File.ReadAllLines(path);
Process each line:
foreach (string line in lines)
{
...
}
If the line contains a date, count it:
int count = 0;
...
foreach (string line in lines)
{
...
count++;
}
Put the result to a label control:
myLabel.text = "Number of dates = " + count.ToString();
Working out if it contains a date is up to you: I do not know anything about your data format...