implemented count
implemented many-to-many relation saves
fix