```
import java.util.Scanner;

public class CustomBarChart2
{
    public static void main(String args[])
    {
        Scanner scan = new Scanner (System.in);

        int barNumber;
        int [] barLength = new int[10];
        char [] barSymbols = new char[10];

        System.out.println("How many bars would you like to display:");
        barNumber = scan.nextInt();

        System.out.println("Specify the sizes of the bars:");

        for (int count = 0; count < barNumber; count++)
        {
            barLength [count] = scan.nextInt();
        }

        System.out.println("Specify the symbols to be used for the bars:");

        for (int count = 0; count < barNumber; count++)
        {
            barSymbols [count] = scan.next(".").charAt(0);
            System.out.print((count+1)+" ");

            /*for (int length = 0; length < barLength [count]; length++)
            {
                System.out.print(barSymbols [count]);
            }*/

            System.out.println();
        }

        barprint();
        scan.close();

    }

    static void barprint(int[] barLength, char[] barSymbols) 
    {
        for (int length = 0; length < barLength [count]; length++)
        {
            System.out.print(barSymbols [count]);
        }
    }
}

```

Here's what I have so far. Under the method barprint, Eclipse is warning of an error stating that count cannot be resolved to variable. Please help, thanks! Have not programmes before and have no clue where the error is!