Pager component on UI List

Hi, can we remove the pager count below on UI list if there is no data?
I still have one page even tho if it is no data.

Thanks

I have already solved myself. sorry for the question

template:function(data, common){
if(data.count === 0) return ‘’;

                                                                                    return common.first(data, common)	+
                                                                                        common.prev(data, common)	+
                                                                                        common.pages(data, common)	+
                                                                                        common.next(data, common)	+
                                                                                        common.last(data, common)
                                                                                }