getColumnCount method added