private static int countCharacters(String line, String character){
		int characterCount = 0;
		for (int i = 0; i < line.length(); i++)
		{
			if (line.charAt(i) == character.toCharArray()[0])
				characterCount++;
		}
		
		return characterCount;
	}