Fix delete mappings count for directive objects
Merge pull request #1078 from reciprocity/feature/delete-mapping-counts

Fix delete mappings count for directive objects