Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE management (department_id VARCHAR, temporary_acting VARCHAR)
TABLE: CREATE TABLE department (name VARCHAR, num_employees VARCHAR, department_id VARCHAR)

### Question ###
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?

### Accurate SQL ###

SELECT T1.name, T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes'