add total in get invitation and find requests