Revert "Adding a second module to count peaks"

This reverts commit 1f273fe8a7d9d4bf6b2cfd6fc2a747c4b6afc409.