Yes it counts, make sure to keep it unique though.
Preexisting skill/job levels of a homeless Sim can count towards the above requirements, but both still need to be unique. So, if you move in Sim A with Fitness level 7, then lucky you - you only have 3 more levels to cap the skill. Sim B comes along with Fitness level 8. Now you'll have to have Sim B start from scratch since Fitness was used to get Sim A moved out. Once you have gone though all available skills/jobs with the expansion packs you have chosen to play with, then you begin a second cycle of skills/jobs and keep the second cycle unique.