Fix recently introduced bug in ResidueCountFilter. Support for task_factory was added, but improperly initialized such that the task factory was always used, even if it wasn't specified. Also fixed a bug in ResidueCountFilter where disulfide cysteines ("CYD") would be counted twice because name3() is "CYS" and name() is "CYD"