help with inputs

I'm having a problem with processing inputs. I'm trying to have it so if and only if there is an input on pin 11, it will count pin 10. Here is how I've been going at it.

void Counter()
{
    for(Count==0; digitalRead(11) == HIGH; Count++)
    {
     while(digitalRead(10) == LOW);
     Serial.print(Count);
     {
     }
    }
}

When this is running, it never stops adding to 'Count'

I also only want this code to run once, when it first starts

Too many = signs here:
for(Count==0; digitalRead(11) == HIGH; Count++)
Only 1 = for assignment of value.

even if in the setup I have " var Count = 0; "?

even if in the setup I have " var Count = 0;

What is a "var"?

AWOL:
What is a "var"?

My apologies, I'm new to this. Int, not var

However you declare Count your for loop is wrong for the reason that Crossroads pointed out.