added first complicated stat - count - works with fixed and free scales