Defining method for retrieve accounts count