count the number of FP op