Align YAML config getlist with libconfig implementation
This aligns the behavior of params_yaml with params_config library:
- when a mapping is read using
getlist
it returns the number of elements in the mapping instead of 0 - when a mapping is read using
get
it returns the number of parameters used for input
Edited by Bartosz Podrygajlo