If the woman have ended a temporary marriage and it ends in middle of here monthly period. Can she count that as the first period of the idda?

If the marriage was consummated she has to wait three clear cycles (so the first one will not count).