Answer suggestion for a quetion

hey guys, i am exploring something, i have a dataset that contains question and an answer to that question. an answer can appear more than once in the dataset for the same question. i am trying to make a nlp model that will take the dataset and return the x most popular answer (answer suggestion for a question) depending how often the answer appear in the dataset for the same question. any advice how to approach this problem?