On the number of crossings of a strip by sample paths of a random walk