starting to use the count alrogitm as a fil rouge