The Frobenius-Poincare Function and Hilbert-Kunz Multiplicity