I have 58 samples and an enrichment analysis was done to each of them. So for each sample I have a list of enriched terms. I've collected the first 3 terms for each sample so now I have 174 GO (gene ontology) terms and there are various repeated.

I want to know if any of these top 3 terms are significant among my samples.

How do I evaluate significance? Do I just calculate the p-value for number of times each term appears among the 174?

Thank you