Image regisry keyword count hashmap

Uses a hashmap now. Super cool.