Excel Formula for Counting Values on a Specific Condition

Hello there!
I need the help of some MS Excel Experts here.
I wanted to count the number of values wherein a condition is given.
For example, I wanted to count how many values there which is more than 500.
It should return the number of values having more than 500.
What is the formula for this guys.
I need it ASAP.
Thanks.
