Counts bits