public function count()
 {
     $vacancy = new Vacancy();
     $count = $vacancy->count();
     return json_encode(array('count' => $count));
 }