check if deploy time is string or time
add occurrences count to mapping
improve orderd by occurrence count test