Restrictions in place on number of beaches in Wicklow and Dublin