payment count for groups and accounts, alert dialog when deleting groups or accounts with payments