[#141] Replaced len() with .count() on qs