Fix total environment count on user-profile page