Counting with float arguments