People counting machine