Added option to limit the number of activity feeds