func getAllRowCount()->Int{ var rowCount = 0 for index in 0...self.tableView.numberOfSections-1{ rowCount += self.tableView.numberOfRows(inSection: index) } return rowCount }