Added peeks counting