How much does it cost to get a licence might be the wrong question, depending on what you want the licence for.
If you just want to get the licence, tick the box, and then move on to the next thing on your list, be it cave diving or stock car racing or whatever, then it's the right question.
But if you want to carry on flying after getting the licence you may also wish to ask how much it costs to keep a licence, which is a much more complicated question with many different possible answers. And this could be more difficult - for some people adding £7k or £9k to their mortgage to fund the course as a one off is no big deal, particularly with today's interest rates, but finding £3k per year each and every year afterwards to keep flying is more difficult.