NI community foundation distributed £5 million last year