Added option of setting max number of tags per object