The idiom “to hear it on the grapevine” means to hear about something from informal communication or to hear a gossip. The above sentence talks about the rumour that is spread about the number of vacancies for various posts. Hence, option 3 is correct.