Finded the way to transfer all tags to view by making all counting into the controller.