Refactor query builder (count jobs by skills)