public function get_column_count()
    {
        list($columns, $hidden) = $this->get_column_info();

        $hidden = array_intersect(array_keys($columns), array_filter($hidden));
        return count($columns) - count($hidden);
    }
public function get_column_count()
    {
        list($columns, $hidden) = $this->get_column_info();

        $hidden = array_intersect(array_keys($columns), array_filter($hidden));
        return count($columns) - count($hidden);
    }
public function get_column_count ( ) { list ( $ columns , $ hidden ) = $ this -> get_column_info ( ) ; $ hidden = array_intersect ( array_keys ( $ columns ) , array_filter ( $ hidden ) ) ; return count ( $ columns ) - count ( $ hidden ) ; }
Return number of visible columns.

@return int
Return number of visible columns .