The conversation between human and AI assistant.
[|Human|] Construct a database query to count the number of records that have a status of 'completed'.
[|AI|] `SELECT COUNT(*) FROM table_name WHERE status = 'completed'`
[|Human|] 
Construct a database query to count the number of records that have a status of 'completed'.