The problem of coun ting the number of periods in one-dimensional maps is extended to two discontinuous maps, the gap map and the Lorenz-like map. The numbers of periods in the gap map and the Lorenz-like map are given by 4F
2(n) and 2C
2(n), respectively, where F
2(n) and C
2 (n) are the number of periodic sequences, invariant under group C
n S
2 and C
n, respectively.