Table: military_units_1861
Columns: regiment
company
company_commander
date_of_election_commission
county

Question: How many company commanders were commissioned or elected on November 12, 1861?
SQL: SELECT COUNT("company_commander") FROM military_units_1861 WHERE "date_of_election_commission" = 'November 12, 1861'

Question: What are the counties who company commander is Captain James R. Jackson and whose election of commission date is April 29, 1861?
SQL: SELECT "county" FROM military_units_1861 WHERE "date_of_election_commission" = 'April 29, 1861' AND "company_commander" = 'Captain James R. Jackson'