Fix delete mappings count for directive objects

Story: https://www.pivotaltracker.com/story/show/65992864