Three results on the number of generators of ideals