Fix component search total count issue + environment ui start