public static Object[] getCount() {
        ArrayList<Object> ArrayList = new ArrayList<Object>();
        Database db = MainModel.dbconnect();
    try {
        String query = "SELECT ticket_status FROM full_ticket";
        db.prepare(query);
	ResultSet rs = db.executeQuery();         
	while(rs.next()) {
               ArrayList.add(rs.getString(rs.getMetaData().getColumnName(1))); 
	}
	db.close();      
        } catch (SQLException e) {
            Error_Frame.Error("There are too many connections to the Database");
        } 
        return ArrayList.toArray(); 
    }