Here are the issues I am seeing:
1) The integer variables min, max and count are declared locally inside of the main method but you try to access them directly in the countInRange method.
2) When you call the countInRange method inside of the main method, you do not supply a parameter; which it is expecting.
Here are some links to help you understand the kinds of variables and an idea of what variable scope is:
Variables (The Java™ Tutorials > Learning the Java Language > Language Basics)
Variable Scope : Variable ScopeLanguageJava Tutorial