How many categories for, replaced by, exist when the outgoing manager is Alan Buckley? 
CREATE TABLE table_18795125_6 (replaced_by VARCHAR, outgoing_manager VARCHAR)
SELECT COUNT(replaced_by) FROM table_18795125_6 WHERE outgoing_manager = "Alan Buckley"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18795125_6 (replaced_by VARCHAR, outgoing_manager VARCHAR) Question: How many categories for, replaced by, exist when the outgoing manager is Alan Buckley?  [/INST] SELECT COUNT(replaced_by) FROM table_18795125_6 WHERE outgoing_manager = "Alan Buckley" </s>