Quest for "collect 10 mushroom" not progressing

I took the quest to collect mushrooms and have collected over 20 but the counter always shows 0/10 and is not progressing. I have not tested any other quests yet

for the challenges, you have to manually give the stuff to the captain in town, they don’t count automatically from your inventory