is there a way to make return count as a double instead of an int? thanks