There is a query that returns a value from 2 tables that meet a certain condition; you need to do so that the query also returns the number of records that meet the condition, the query itself:
SELECT c.id, c.first_name, c.last_name, c.speciality, c.level, c.email, c.skype, c.city, s.status_type, c.status_id, c.linkedin, c.link_cv, c.interview_res, c.createdAt, c.updatedAt, c.recruiter_id, u.first_name AS fname, u.last_name AS lname FROM Candidates c JOIN Users u ON c.recruiter_id = u.id JOIN Statuses s ON s.id = c.status_id WHERE c.deleted = false