For Maya counts the moments in Ep3 when you left the party at the DIK's for her, Ep5 if you followed Maya at the preps party after Pete mets Josy, Ep7 if you met with her after Josy moves out to the HOT's, Ep8 at the dorm party and Ep9 behind the green screen.
For Josy it is Ep5 if you followed Josy instead of Maya after Pete's visit, Ep7 if you visit her at the HOT's, Ep7 after the HOT's party, Ep7 at the dorm party and Ep8 at the gym.
That's what I've read in the code.
edit:
ffive answered this already. I'm sorry. I should have read more before I answered.