Adding to the above mentioned methods, there are also highly sensitive ELISA kits for detection of mycotoxins in food such as Veratox HS.
As for the assessment of fungal population, standard agar plate count on media specific for dry condition tolerant mycotoxigenic fungal species e.g. Aspergillus and Penicillium spp. can useful. You may check this publication for the method:
Mannaa, M., Oh, J. Y., & Kim, K. D. (2017). Microbe‐mediated control of Aspergillus flavus in stored rice grains with a focus on aflatoxin inhibition and biodegradation. Annals of applied biology, 171(3), 376-392.