Convert query cmds to use db
Remove dependence on config for remaining count cmds
unknown type should be added by default
Remove obsolete config :smile:
Remove unnecessary ignoring of config lines
update arg name - types-config no longer makes sense