Lily-432: added count of cases/deals and modal knows of account/contact