def get_column_matches(self, suggestion, word_before_cursor):
        tables = suggestion.tables
        _logger.debug("Completion column scope: %r", tables)
        scoped_cols = self.populate_scoped_cols(tables)

        if suggestion.drop_unique:
            # drop_unique is used for 'tb11 JOIN tbl2 USING (...' which should
            # suggest only columns that appear in more than one table
            scoped_cols = [col for (col, count)
                                 in Counter(scoped_cols).items()
                                   if count > 1 and col != '*']

        return self.find_matches(word_before_cursor, scoped_cols, meta='column')
dataset/ETHPy150Open dbcli/pgcli/pgcli/pgcompleter.py/PGCompleter.get_column_matches/original