fixed bug in Yote::Obj::count, and where logging is called in Yote.pm