Coastal communities in Aberdeenshire benefitted from more than £322,000 in funding during the last year.