Fixed showing the one-to-many and many-to-many relation count