Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Duplicate
I really don't think there is a way to make this kata not a duplicate. Counting elements and returning an object has been done to death. Mapping and filtering elements won't help; the essential task is a duplicate, tacking on unrelated tasks ( that have also been done to death ) is not going to make it better.
Just unpublish it, come up with an original idea ( which is going to be hard! Sorry, but going on
10 000
kata have already been published .. ), and make that into a kata.In any case, please, let go of the idea "I can publish a kata, so I must"; ask yourself not "What can CodeWars do for me?" but "What can I do for CodeWars?". Your motivation for publishing a kata should be what it adds to CodeWars, not what it adds to your profile.