The number of masters degrees in engineering awarded each year has fallen since 2016, while doctoral degrees has shown a slight increase.